package com.yx.modules.api.dao;

import com.yx.common.utils.Query;
import com.yx.modules.api.entity.TbBookComment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 图书评论
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-11 14:11:37
 */
@Mapper
@Repository
public interface TbBookCommentDao extends BaseDao<TbBookComment> {

    List<TbBookComment> findByReplyFristId(Integer replyFristId);

    List<TbBookComment> queryList1(Query query);

    int queryTotal1(Query query);
}
